<template>
  <div>
    <div><img :src="user.headerImg" alt="" /></div>
    {{user.nickName}}
  </div>
</template>

<script>
export default {
  data() {
    return {
      user: "",
    };
  },
  created() {
    this.user = JSON.parse(localStorage.getItem("user"));
  },
};
</script>

<style>
</style>